package com.jinhao.crowd.api;

import com.jinhao.crowd.entity.po.MemberPO;
import com.jinhao.crowd.util.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created on 2021/10/6.
 *
 * @author Valar Morghulis
 */

@FeignClient("atguigu-crowd-mysql")
public interface MySQLRemoteService {

    @RequestMapping("/get/memberpo/by/loginacct/remote")
    public ResultEntity<MemberPO> getMemberByLoginAcct(@RequestParam("loginacct") String loginacct);
}
